home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 247_02 / mwdoit.bat < prev    next >
DOS Batch File  |  1989-04-17  |  3KB  |  99 lines

  1. rem MIRACL - IBM PC/MS-DOS Version 2.0
  2. rem This batch files creates miracl.lib from its component parts
  3. rem using the Mark Williams v2.0 (or greater) compiler, the Mark Williams
  4. rem as assembler and lb librarian utility
  5. rem Also included are the commands to create all the example programs
  6. rem using the Mark Williams ld utility
  7. rem
  8. rem Read your compiler documentation for further information
  9. rem 
  10. rem Invoke as "mwdoit". It is assumed that paths have been correctly set up to
  11. rem the compiler, assembler, librarian and linker.
  12. rem
  13. rem Note - use with care. There is insufficient space for all of the files
  14. rem created by this batch file on the distribution diskette alone.
  15. rem
  16. rem Provided mainly as a guide for creating a batch file tailored
  17. rem specifically to your own configuration.
  18. rem
  19. rem On a diskette based system these commands should be executed manually,
  20. rem changing diskettes as necessary
  21. rem
  22. rem Compile MIRACL modules
  23. cc bncore.c -c
  24. cc bnarth0.c -c
  25. cc bnarth1.c -c
  26. cc bnarth2.c -c
  27. cc bnsmall.c -c
  28. cc bnround.c -c
  29. cc bnio1.c -c
  30. cc bnio2.c -c
  31. cc bngcd.c -c
  32. cc bnxgcd.c -c
  33. cc bnarth3.c -c
  34. cc bnrand.c -c
  35. cc bnprime.c -c
  36. cc bnflash.c -c
  37. cc bndouble.c -c
  38. cc bnbuild.c -c
  39. cc bnflsh1.c -c
  40. cc bnpi.c -c
  41. cc bnflsh2.c -c
  42. cc bnflsh3.c -c
  43. cc bnflsh4.c -c
  44. rem
  45. rem Assemble bnmuldv.c
  46. as -o bnmuldv.o bnmuldv.c
  47. rem
  48. rem Create library 'miracl.lib'
  49. del miracl.olb
  50. lb c  miracl.olb
  51. lb r  miracl.olb bnflsh4.o bnflsh3.o bnflsh2.o bnpi.o bnflsh1.o
  52. lb r  miracl.olb bncore.o bnarth0.o bnarth1.o bnarth2.o bnround.o bnio1.o
  53. lb r  miracl.olb bnio2.o bngcd.o bnxgcd.o bnarth3.o bnbuild.o bnsmall.o
  54. lb r  miracl.olb bnrand.o bnprime.o bnflash.o bndouble.o bnmuldv.o
  55. del bn*.o
  56. rem
  57. rem Compile and link example programs
  58. cc brute.c miracl.olb
  59. del brute.o
  60. cc mersenne.c miracl.olb
  61. del mersenne.o
  62. cc rsakey.c miracl.olb
  63. del rsakey.o
  64. cc encode.c miracl.olb
  65. del encode.o
  66. cc decode.c miracl.olb
  67. del decode.o
  68. cc okakey.c miracl.olb
  69. del okakey.o
  70. cc enciph.c miracl.olb
  71. del enciph.o
  72. cc deciph.c miracl.olb
  73. del deciph.o
  74. cc pi.c miracl.olb -lm
  75. del pi.o
  76. cc sample.c miracl.olb -lm
  77. del sample.o
  78. cc roots.c miracl.olb -lm
  79. del roots.o
  80. cc hilbert.c miracl.olb
  81. del hilbert.o
  82. cc brent.c miracl.olb
  83. del brent.o
  84. cc pollard.c miracl.olb
  85. del pollard.o
  86. cc williams.c miracl.olb
  87. del williams.o
  88. cc lenstra.c miracl.olb
  89. del lenstra.o
  90. cc qsieve.c miracl.olb
  91. del qsieve.o
  92. cc fact.c miracl.olb
  93. del fact.o
  94. cc palin.c miracl.olb
  95. del palin.o
  96. cc hail.c miracl.olb
  97. del hail.o
  98.  
  99.